@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Roboto+Condensed:wght@100..900&display=swap');

/* ------------------------------------------------------------------------------------------------------------------------
    Reglas Generales
   -----------------------------------------------------------------------------------------------------------------------
*/

* {box-sizing: border-box;}

body {
 font-family: "Roboto Condensed", sans-serif;
 font-optical-sizing: auto;
 font: weight 400;
 font-style: normal;
 margin: 0;
 background-color: #f2ddd5;
 display: grid;
 grid-template-areas: auto 1fr;
 min-height: 100dvh;
}


p,
li {
  text-wrap: pretty;
}


img {
 max-width: 100%;
}


a {
 text-decoration: none;
 color: #821764;
}
  

ul,
ol {
 list-style: none;
 padding: 0;
}


p{
  color: #821764;
}


/* ------------------------------------------------------------------------------------------------------------------------
    Inicio
   -----------------------------------------------------------------------------------------------------------------------
*/

.inicio {
  margin: .5em;
  align-self: center;
  height: 100dvh;
}


.contenedor{
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
}


.slider-contenedor{
  width: 100%;
  display: flex;
  flex-grow: 1; /* Para que ocupe todo el espacio disponible */
  margin-bottom: 0;
}


.contenido-slider{
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-shrink: 0;
}


.contenido-slider > img{
  width: 700px;
  height: auto;
  box-shadow: 10px 10px 5px hsl(0 0% 0% / 20%);
  border-radius: 5em;
  border: 10px solid #821764;
  object-fit: contain;
} 


.contenido-slider > div{
  width: 40%;
}


.contenido-slider p{
  font-size: 20pt;   
  padding: 0;
}


.empecemos {
  color:#821764;
  background-color: #f2edd0;
  border: 5px solid #821764;
  padding: .5em 1em;
  text-align: center;
  border-radius: 2em;
  text-decoration: none;
  font-size: 15pt;
  font-weight: 600; 
  align-self: center;
  margin-top: 0;
}


@media screen and (max-width:960px){
  .contenido-slider > img{
   width: 500px;
  }

  .contenido-slider > div{
    width: 40%;
  }

  .contenido-slider p{
    font-size: 23px;
  }
}


@media screen and (max-width:640px){
  .contenido-slider{
    flex-direction: column-reverse;
  }
  
  .contenido-slider > div{
    width: 80%;
  }

  .contenido-slider p{
    text-align: center;
  }
}




/* ------------------------------------------------------------------------------------------------------------------------
   Header
   -----------------------------------------------------------------------------------------------------------------------
*/

header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
}


header,
footer {
  background-color: #f2edd0;
  color: hsl(0, 0%, 100%);
  box-shadow: 0 5px 5px hsl(0 0% 0% / 20%);
}  


#logo{
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
  min-height: 1em;
  justify-content: space-between;
}

  
/* ------------------------------------------------------------------------------------------------------------------------
   Menu
   -----------------------------------------------------------------------------------------------------------------------
*/

header nav ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}


header nav{
  display: flex;
  align-items: center;
}


header nav ul li{
  min-width: 4em;
  margin: .5em .5em; 
  cursor: pointer;
}


header nav ul li a{
  background-color: #f2ddd5;
  border-radius: .5em ;
  color: #821764;
  padding: .25em .5em;
  text-align: center;
  text-transform: uppercase;
  font-size: large;
}


header nav ul li a:hover{
  background-color: #821764;
  color: #f2ddd5;
}


.menu-btn{
  display: none;
  cursor: pointer; 
}
      
.btn-linea {
  width: 35px;
  height: .3em;
  border-radius: .25em;
  background-color: #821764;
  margin: 5px;
}

    
/* Responsive styles */
@media (max-width: 768px) {
 .menunav {
   display: none;
   flex-direction: column;
   align-items: end;
   position: absolute;
   top: 0px;
   right: 0px;
   background-color: #f2ddd5;
   margin: 0;
   padding: 1em;
   padding-top:6em ;
   padding-bottom: 30em;
   box-shadow: 0 0 0 100vmax rgb(0,0,0, .2);
  }


  .menunav li {
    margin: 10px 0; 
  }


  .menu-btn {
    display: flex;
    flex-direction: column;
    margin-left: 100px;
    cursor: pointer;
  }


  .menunavVisible {
   display:flex;
  }


  .menu-btn .btn-linea{
   margin: 4px 0 4px 0;
   transition: all 0.3s ease-out;
   position: relative;
   z-index: 100;
  }

  .menuVisible .menu-btn .btn-linea {
   transform: rotate(180deg);
  }


  .menuVisible .menu-btn .btn-linea:nth-child(1) {
   transform: rotate(45deg) translate(10px, 8px);
  }


  .menuVisible .menu-btn .btn-linea:nth-child(2) {
   opacity: 0;
  }


  .menuVisible .menu-btn .btn-linea:nth-child(3) {
   transform: rotate(-45deg) translate(10px, -8px);
  }


  .menuVisible ul {
   visibility: visible;
   opacity: 100%;
   transition: all .5s .2s ease;
  }


  header{
   position: sticky;
   top: 0;
   z-index: 200;
  }

}
   
/* ------------------------------------------------------------------------------------------------------------------------
   Intro
   -----------------------------------------------------------------------------------------------------------------------
*/


main{
   margin: 2em;
}


main .contenedora{
 text-align: center;
 border: 2px solid #821764;
 background: url("../imagenes/fondo.svg") center center no-repeat fixed; 
 background-size: cover;
}


.contenedora .subtitulo h2{
  display: block;
  font-size: 10pt;
  border-block-end: 2px solid #821764;
  text-align: left;
  padding: 1em;
  margin: 0;
  background-color: #f2ddd5;
}


.contenedora p{
  max-width: 500px;
  text-align: center;
  margin: 1em .5em;
  font-size: 12pt;
  background-color: #f2ddd5;
  padding-bottom: .1em;
}


.contenedora h2, h1{
 text-transform: uppercase;
 border-color: #821764;
 margin-bottom: 20px;
 color: #821764;
}


.centro img {
  display: none;
}


@media (min-width:640px){
  .centro {
   display: grid;
   justify-content: space-around;
   justify-items: center;
  }

  .seleccion {
   width: 500px;
  }

  .elijo p {
   font-size: 12pt;
   width: fit-content;
   margin-inline: auto;
  }
  
  .elijo #logo {
   font-size: 20pt;
   width: fit-content;
   margin-inline: auto;
  }
}


@media (min-width:960px){
 .centro {
   display: flex;
   justify-content: space-evenly;
   align-items: center;
  }
  
 .centro img {
   display: flex;
   height: 400px;
  }

 .elijo p {
   font-size: 15pt;
  }

 .elijo #logo {
   font-size: 30pt;
   background-color: #f2ddd5;
   display: inline;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------
   Provs
   -----------------------------------------------------------------------------------------------------------------------
*/

.select-container {
  position: relative;
  max-width: 500px;
  padding-bottom: 2em;
}


#provincia {
  background-color: #f2edd0;
  color: #821764;
  font-weight: bold;
  padding: 10px 20px;
  border: #821764;
  font-size: 16px;
  width: 100%;
  height: 3.5rem;
  border-radius: 3em;
  appearance: none; /* Eliminar la flecha predeterminada del select */
  padding-right: 50px; /* Añadir espacio para el botón */
}


.select-container button {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #821764;
  border: none;
  color: #f2ddd5;
  height: 3.5rem;
  width: 50px;
  border-top-right-radius: 3em;
  border-bottom-right-radius: 3em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}


button:focus,
button:hover {
  background-color: #a32372; /* Color diferente al pasar el mouse o enfocar */
}


/* ------------------------------------------------------------------------------------------------------------------------
    Buenos Aires
   -----------------------------------------------------------------------------------------------------------------------
*/

.contenedora .bsas {
  color: #f2ddd5;
  background-color: #821764;
  margin-top: 0;
  padding: 1em;
  font-size: 25pt;
  margin-bottom: 1em;
}


.buenos-aires h4{
  background-color: #f2edd0;
  color: #821764;
  border-top: 3px solid #821764 ;
  border-bottom: 3px solid #821764 ;
  padding: .3em 1.5em;
  margin: 0;
  font-size: 15pt;
}


.list-item .list-button-click h5{
  color: #821764;
  font-size: 14pt;
  background-color: #f2ddd5;
  padding: .5em 1em;
  border: 3px solid #821764 ;
  border-radius: .75em;
  display: inline-block;
  margin-top: .5em;
  margin-bottom: .2em;
  cursor: pointer;
}


.nav-link-inside{
  color: #821764;
  display: inline-block;
  padding: .5em;
  cursor: pointer;
}


.list-item .list-button-click h5:hover{
  background-color: #f2edd0;
}


.nav-link-inside:hover{
 background-color: #821764;
 color: #f2edd0;
 border-radius: .75em;
}


.list-show{
  transition: height .4s;
  height: 0;
  overflow: hidden;
}


.buenos-aires button{
  background-color: #821764;
  border: none;
  color: #f2ddd5;
  cursor: pointer;
  padding: 1em;
  border-radius: 2em;
  margin-block-start: 1em;
}

@media screen and (min-width:768px){
  .buenos-aires {
    display: grid;
    grid-template-columns: 1fr 1fr 3fr;
    grid-template-rows: 1fr;
    grid-template-areas: 
     "bsas  univpublica  lista";
  }

  .contenedora .bsas {
    grid-area: bsas;
    margin: 0%;
  }
 
  .buenos-aires h4{
    grid-area: univpublica;
    border: 0;
    padding-top: 2em;
  }
 
  .list{
    grid-area: lista;
    display: flex;
    flex-direction: column;
  }

  .list button{
   width: fit-content;
   margin-inline: auto;
  }
}

@media screen and (min-width:960px){
  .fadu h4{
    font-size: 25pt;
  }

  .contenedora .bsas {
    font-size: 30pt;
  }
}



/* ------------------------------------------------------------------------------------------------------------------------
   Personas
   -----------------------------------------------------------------------------------------------------------------------
*/

.fadu h4{
  background-color: #f2edd0;
  color: #821764;
  border-top: 3px solid #821764 ;
  border-bottom: 3px solid #821764 ;
  padding: .3em 1.5em;
  margin: 0;
  font-size: 15pt;
}


.personas figure img{
  border-radius: 100%;
  border: 8px solid #821764;
  background-color: #f2ddd5;
  aspect-ratio: 1;
  max-width: 190px;
  object-fit: cover;
  cursor: pointer;
}


.fadu p{
  font-size: 11pt;
  text-align: start;
  margin: 1em;
  max-width: fit-content;
}


.fadubsas span{
  font-weight: 600;
}

.personas figure{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}


.personas figure figcaption{
 background-color: #f2edd0;
 border: 3px solid #821764;
 border-radius: 1em;
 height: fit-content;
 width: 150px;
 padding: .5em ;
 font-weight: 400;
 margin-top: .25em;
 color: #821764;
}


.personas figure figcaption span{
  display: block;
  font-weight: 600;
  text-transform: uppercase;
}


.lista-personas{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}


.fadu button{
  background-color: #821764;
  border: none;
  color: #f2ddd5;
  cursor: pointer;
  padding: 1em;
  border-radius: 2em;
  margin-block-end: 1em;
}



@media screen and (min-width:768px){
  .fadu {
    display: grid;
    grid-template-columns: 1fr 1fr 5fr;
    grid-template-rows: 1fr;
    grid-template-areas: 
     "bsas  ubafadu personas";
  }

  .fadu .bsas {
    grid-area: bsas;
    margin: 0%;
  }
 
  .fadu h4{
    grid-area: ubafadu;
    border: 0;
    padding-top: 2em;
    font-size: 20pt;
  }
 
  .fadubsas{
    grid-area: personas;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    overflow-y: auto;
    max-height: 80vh; /* Ajusta la altura máxima según sea necesario */
  }

 .contenedora .fadubsas p{
   text-align: start;
   margin: 1em;
   line-height: 1.5em;
   max-width: fit-content;
  }

  .fadubsas button{
   width: fit-content;
   margin-inline: auto;
  }
}


@media screen and (min-width:960px){
  .contenedora .fadubsas p{
   font-size: 15pt;
  }

  .fadubsas button{
    font-size: 12pt;
    width: fit-content;
    margin-inline: auto;
  }

  .lista-personas{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------
   Persona
   -----------------------------------------------------------------------------------------------------------------------
*/

.persona figure img{
  border-radius: 100%;
  border: 8px solid #821764;
  background-color: #f2ddd5;
  aspect-ratio: 1;
  max-width: 190px;
  object-fit: cover;
  cursor: pointer;
}


.persona figure{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
  
  
.persona figure figcaption{
  background-color: #f2edd0;
  border: 3px solid #821764;
  border-radius: 1em;
  height: fit-content;
  width: 150px;
  padding: .5em ;
  font-weight: 400;
  margin-top: .25em;
  color: #821764;
}
  
  
.persona figure figcaption span{
  display: block;
  font-weight: 600;
  text-transform: uppercase;
}


.persona figure{
  gap: .5em;
}

.persona section p{
  text-align: start;
  margin-inline-start: 1em;
  max-width: 1000px;
  font-size: 11pt;
}

.persona section #primero{
  font-size: 12pt;
  font-weight: 600;
}


#ultimo{
  margin-block: 1em;
  padding: .5em 1em;
  background-color: #a32372;
  color: #f2ddd5;
  border-radius: 1em;
  font-size: 14pt;
  width: fit-content;
  display: flex;
  align-items: center;
  margin-inline: auto;
}


/*galeria de imagenes*/
.galeria h4{
  color: #821764;
  text-align: left;
  background-color: #f2ddd5;
  padding: .1em;
  width: fit-content;
  font-size: 14pt;
}

.galeria {
  padding: 0 1em 2em 1em;
  width: min(75em, 100%);
  margin-inline: auto;
  margin: 0;
}


.slider {
  width: 100%;
  height: max(50px, 40vh);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: all 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img, .slide iframe {
  max-width: 100%;
  height: auto;
}


.galeria .slide img {
  border-radius: 0;
  border: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 4/3;
}


.slide a::after {
  content: " →";
}


.slide a:hover {
  color: hsl(0 0% 90%);
}

@media screen and (min-width:960px){
  .persona{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-template-areas: 
    "foto       texto"
    "galeria    texto";
    gap: 20px;
    margin: 2em;
  }


  /*foto*/
  .imagen{
    grid-area: foto;
    display: flex;
    flex-direction: column;
  }

  .persona figure img{
    max-width: 50em;
    width: 15em;
  }

  .persona figure figcaption{
    font-size: 14pt;
    width: auto;
    padding-inline: 2em;
  }

  .persona figure{
    gap: 1em;
  }


  /*texto*/
  .texto{
    grid-area: texto;
  }

  .texto ul{
   display: flex;
   flex-direction: column;
   align-items: center;
  }

  .texto ul li p{
   max-width: 600px;
   font-size: 12pt;
   line-height: 1.2em;
   margin: .5em;
  }

  .persona section #primero{
   font-size: 13pt;
   font-weight: 600;
   margin-block-end: 1em;
  }


 /*galeria*/
  .galeria{
    grid-area: galeria;
  }

  .galeria h4{
    font-size: 15pt;
  }
}


@media screen and (min-width:1400px){
  .persona figure img{
    max-width: 50em;
    width: 20em;
  }


  .persona figure figcaption{
    font-size: 18pt;
    width: auto;
    padding-inline: 2em;
  }

  .persona figure{
    gap: 2em;
  }


 /*texto*/
 .texto ul li p{
   max-width: 600px;
   font-size: 14pt;
   line-height: 1.3em;
  }

 .persona section #primero{
   font-size: 16pt;
   font-weight: 600;
   margin-block-end: 1.5em;
  }

}



@media (min-width: 30em) {
  .slide figcaption {
    font-size: 1.1em;
    inset: 2em 50% 2em 2em;
    gap: 1em;
    padding: 1.5em;
    transition: .5s;
  }
}


@media (min-width: 40em) {
  .slide figcaption {
    font-size: 1.25em;
    inset: auto 50% 2em 2em;
  }
}


.btn {
  position: absolute;
  z-index: 10;
  top: 6em;
  width: 2.5em;
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background-color: hsl(210 29% 30% / 0.75);
  color: white;
  font-size: 1.1em;
  opacity: .75;
}


.btn:active,
.btn:hover {
  opacity: .9;
  border: solid 1px white;
}


.btn-prev {
  left: .01em;
}


.btn-prox {
  right: .01em;
}



/* ------------------------------------------------------------------------------------------------------------------------
    Muchas Gracias
   -----------------------------------------------------------------------------------------------------------------------
*/

.muchasgracias{
  display: grid;
  min-height: 100dvh;
  align-content: space-between;
}


.muchasgracias main{
  margin-block: 1em;
}


.muchasgracias .centro{
  display: flex;
  flex-direction: column;
 justify-content: space-between;
}


.muchasgracias .centro a{
  margin-block-end: 1em;
}


.centro h4{
  color: #821764;
  font-size: 14pt;
  background-color: #f2ddd5;
}


.centro h4 span{
  font-size: 10pt;
  display: block;
  background-color: #f2ddd5;
}


.centro .volver {
  background-color: #821764;
  color: #f2ddd5;
  display: inline;
  padding: .5em;
  border-radius: 1em;
  padding-inline-start: 1em;
  padding-inline-end: 1em;
  font-size: 10pt;
  text-transform: none;
  font-weight: 400;
}


.centro #logo{
  background-color: #f2ddd5;
  padding: .1em;
}


.gracias .social-media{
  margin: 0;
  margin-block-start: 1em;
}



.muchasgracias .contenedora{
height: 55dvh;
}


@media (min-width:640px){
  .centro h4{
    font-size: 20pt;
  }

  .centro h4 span{
    font-size: 14pt;
  }
  
 .centro #logo{
    font-size: 30pt;
    padding: .1em;
  }

 .centro .volver {
    font-size: 14pt;
  }
}


/* Footer Gracias*/
@media (min-width:640px){
  .gracias{
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .gracias .disclaimer{
    margin: 0;
  }
  
  .gracias .disclaimer p{
    border-left: 0;
    margin: 0;
    align-items: center;
    text-align: center;
  }
  
  .gracias .disclaimer h1{
    text-align: center;
    margin: 0;
    margin-block-start: 1em;
  }
}


/* ------------------------------------------------------------------------------------------------------------------------
    Footer
   -----------------------------------------------------------------------------------------------------------------------
*/

footer{
  text-align: center;
}


footer h2 {
  text-align: left;
  margin-left: 1em;
  margin-top: 0;
  padding-top: 1em;
  border-bottom: .15em solid #821764;
  color: #821764;
  font-size: 12pt;
}

form {
  display: flex;
  flex-direction: column;
  margin: 1em;
}


form input, form textarea {
  width: calc(100% - 40px); /* Resta el padding lateral */
  padding: .75em;
  border: transparent;
  color: #821764;
  margin-left: 1em;
}


form input, 
form textarea{
  background-color: #f2ddd5;
  border-radius: 1em;
  margin: .4em;
  font-family: "Roboto Condensed", sans-serif;
  color: #821764;
}


footer button{
background-color: #821764;
color: #f2ddd5;
border-radius: 2em;
border: 0;
width: 5em;
padding: .5em;
padding-block-start: 10px;
padding-block-end: 10px;
margin: auto;
}


footer p {
  font-size: 10pt;
  padding: 1em;
}


.social-media a img{
  height: 2em;
  aspect-ratio: 1;
}


@media (min-width:640px){
 footer {
   display: grid;
   grid-template-columns: 1fr 1fr;
   grid-template-rows: 2fr 1fr;
   grid-template-areas: 
     "contacto   disclaimer"
     "contacto   media";
   column-gap: 30px;
   padding-block-end: 0;
   margin-block-end: 0;
  }


  .contactanos {
    grid-area: contacto;
    margin-inline-start: 4em;
  }


  .social-media{
    grid-area: media;
    margin-right: 4em;
  }


  .disclaimer{
    grid-area: disclaimer;
    text-align: start;
    padding: 0;
    margin-right: 4em;
  }


  .contactanos h2{  
   padding-top: 2em;
  }


  .social-media a{  
    padding: .4em;
  }


  .disclaimer p{  
    border-left: 2px solid #821764;
    margin-block: 0;
    padding-inline-start: 2em;
  }


  .disclaimer h1{  
    font-size: 15pt;
    margin: 0;
    margin-block-start: 3em;
    margin-inline-start: .5em;
    padding-inline-start: 1em;
  }
}
